package com.ys.erp.stage_mall_service.bean.vo;

import com.ys.erp.stage_mall_service.bean.dto.SpecsDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@Schema(description = "商品规格VO")
public class GoodsSpecsVO {

    @Schema(description = "规格id")
    private Long id;

    @Schema(description = "规格图片")
    private String pic;

    @Schema(description = "规格重量")
    private Integer specsWeight;

    @Schema(description = "规格属性")
    private List<SpecsDTO> attrMap;

    @Schema(description = "规格价格")
    private String specsPrice;

    @Schema(description = "规格库存")
    private Integer stock;

    @Schema(description = "运费")
    private Long deliveryCost;

    @Schema(description = "jst重量")
    private Integer jstWeight;

    @Schema(description = "规格成本价")
    private String specsCostPrice;

    @Schema(description = "幺币抵扣")
    private Integer ysCoinDiscount;

    @Schema(description = "发货方式")
    private String sendGoodsType;
} 